package com.mida.dms.knw.config.enumData;

/**
 * <h1></h1>
 * <p>
 *
 * </p>
 *
 * @author jian.li on 2021/5/17 12:17
 */
public enum DataType {

    VARCHAT(134L,"字符型"),
    BOOLEAN(135L,"布尔型"),
    NUMBER(136L,"数值型"),
    DATE(137L,"日期型"),
    DATETIME(138L,"日期时间型"),
    BINARY(139L,"二进制型"),
    TIME(140L,"时间型");

    private Long code;
    private String description;

    DataType(Long code,String description){
        this.code = code;
        this.description = description;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return "DataType{" +
                "code=" + code +
                ", description='" + description + '\'' +
                '}';
    }
}
